Skip to content

Commit

Permalink
adjusted flags for SubjectPublicKeyInto BIT_STRING
Browse files Browse the repository at this point in the history
  • Loading branch information
feventura committed Feb 15, 2024
1 parent b3c6ca4 commit b723cc9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion oqsprov/oqs_encode_key2any.c
Original file line number Diff line number Diff line change
Expand Up @@ -569,7 +569,7 @@ static int oqsx_spki_pub_to_der(const void *vxkey, unsigned char **pder)

oct.data = buf;
oct.length = buflen;
oct.flags = 0;
oct.flags = 8;
templen[i] = i2d_ASN1_BIT_STRING(&oct, &temp[i]);
ASN1_STRING_set(aString[i], temp[i], templen[i]);
ASN1_TYPE_set1(aType[i], V_ASN1_SEQUENCE, aString[i]);
Expand Down

0 comments on commit b723cc9

Please sign in to comment.