ASN.1: adapt our use of INTxx et al by making them explicitely embedded
[openssl.git] / test / handshake_helper.c
index 47af3fe396ccd282d4e249b9531ed2cd0f917a8c..94fa5c578fe34aea6f308ff21a23a3d0c9d21825 100644 (file)
@@ -413,7 +413,7 @@ static int server_alpn_cb(SSL *s, const unsigned char **out,
     *out = tmp_out;
     /* Unlike NPN, we don't tolerate a mismatch. */
     return ret == OPENSSL_NPN_NEGOTIATED ? SSL_TLSEXT_ERR_OK
-        : SSL_TLSEXT_ERR_NOACK;
+        : SSL_TLSEXT_ERR_ALERT_FATAL;
 }
 
 #ifndef OPENSSL_NO_SRP