Fix #340: Parse ASN1_TIME to struct tm
[openssl.git] / ssl / ssl_rsa.c
index 6f1c380b9bfe49ad3c4be10c98a5a46964eda25e..1ee80568ff7a08d88c31ec181fdc24c7de773ee4 100644 (file)
@@ -775,7 +775,7 @@ static int serverinfoex_srv_add_cb(SSL *s, unsigned int ext_type,
         int retval = serverinfo_find_extension(serverinfo, serverinfo_length,
                                                ext_type, out, outlen);
         if (retval == -1) {
-            *al = SSL_AD_DECODE_ERROR;
+            *al = SSL_AD_INTERNAL_ERROR;
             return -1;          /* Error */
         }
         if (retval == 0)