Add custom sig_info setting for RSA-PSS
[openssl.git] / crypto / rsa / rsa_asn1.c
index 626a479441e52a4fe9aa92cdde0438e5b0831229..43c8fc27ae568fbacfe3b7abe4ce4727d37c810f 100644 (file)
@@ -32,7 +32,7 @@ static int rsa_cb(int operation, ASN1_VALUE **pval, const ASN1_ITEM *it,
 }
 
 ASN1_SEQUENCE_cb(RSAPrivateKey, rsa_cb) = {
-        ASN1_SIMPLE(RSA, version, LONG),
+        ASN1_EMBED(RSA, version, INT32),
         ASN1_SIMPLE(RSA, n, BIGNUM),
         ASN1_SIMPLE(RSA, e, BIGNUM),
         ASN1_SIMPLE(RSA, d, CBIGNUM),