Ignore the serial number for now and just do the rest.
[openssl.git] / crypto / ocsp / ocsp_lib.c
index e850b4c01cb02284aaedfa7c35540868d455aa77..5ff2f318b3b4052dbece9b2dba8639af2c57255c 100644 (file)
@@ -22,7 +22,7 @@
 OCSP_CERTID *OCSP_cert_to_id(const EVP_MD *dgst, X509 *subject, X509 *issuer)
 {
     X509_NAME *iname;
-    const ASN1_INTEGER *serial;
+    ASN1_INTEGER *serial;
     ASN1_BIT_STRING *ikey;
     if (!dgst)
         dgst = EVP_sha1();
@@ -40,7 +40,7 @@ OCSP_CERTID *OCSP_cert_to_id(const EVP_MD *dgst, X509 *subject, X509 *issuer)
 OCSP_CERTID *OCSP_cert_id_new(const EVP_MD *dgst,
                               X509_NAME *issuerName,
                               ASN1_BIT_STRING *issuerKey,
-                              const ASN1_INTEGER *serialNumber)
+                              ASN1_INTEGER *serialNumber)
 {
     int nid;
     unsigned int i;