summaryrefslogtreecommitdiffstats
path: root/ssl/t1_enc.c
diff options
context:
space:
mode:
authorBen Laurie <ben@openssl.org>2011-03-12 18:01:19 +0100
committerBen Laurie <ben@openssl.org>2011-03-12 18:01:19 +0100
commitedc032b5e3f3ebb1006a9c89e0ae00504f47966f (patch)
tree34145e288daa107b0f9fcb951abd786804624081 /ssl/t1_enc.c
parentFix warning. (diff)
downloadopenssl-edc032b5e3f3ebb1006a9c89e0ae00504f47966f.tar.xz
openssl-edc032b5e3f3ebb1006a9c89e0ae00504f47966f.zip
Add SRP support.
Diffstat (limited to 'ssl/t1_enc.c')
-rw-r--r--ssl/t1_enc.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/ssl/t1_enc.c b/ssl/t1_enc.c
index c418d3217a..8950700846 100644
--- a/ssl/t1_enc.c
+++ b/ssl/t1_enc.c
@@ -1073,6 +1073,9 @@ int tls1_alert_code(int code)
case SSL_AD_BAD_CERTIFICATE_STATUS_RESPONSE: return(TLS1_AD_BAD_CERTIFICATE_STATUS_RESPONSE);
case SSL_AD_BAD_CERTIFICATE_HASH_VALUE: return(TLS1_AD_BAD_CERTIFICATE_HASH_VALUE);
case SSL_AD_UNKNOWN_PSK_IDENTITY:return(TLS1_AD_UNKNOWN_PSK_IDENTITY);
+#ifndef OPENSSL_NO_SRP
+ case SSL_AD_MISSING_SRP_USERNAME:return(TLS1_AD_MISSING_SRP_USERNAME);
+#endif
#if 0 /* not appropriate for TLS, not used for DTLS */
case DTLS1_AD_MISSING_HANDSHAKE_MESSAGE: return
(DTLS1_AD_MISSING_HANDSHAKE_MESSAGE);