Add documentation on platform specific checks
[openssl.git] / ssl / t1_lib.c
index 00bbcd64b59735929cb9ee4e587812037335cbf4..5ab722347667db2ed02f6b384b431c42e9c2e795 100644 (file)
@@ -1476,6 +1476,8 @@ int tls12_copy_sigalgs(SSL *s, WPACKET *pkt,
             || (lu->sig != EVP_PKEY_RSA && lu->hash != NID_sha1)))
             rv = 1;
     }
+    if (rv == 0)
+        SSLerr(SSL_F_TLS12_COPY_SIGALGS, SSL_R_NO_SUITABLE_SIGNATURE_ALGORITHM);
     return rv;
 }