diff options
author | Ben Laurie <ben@openssl.org> | 2011-03-12 18:01:19 +0100 |
---|---|---|
committer | Ben Laurie <ben@openssl.org> | 2011-03-12 18:01:19 +0100 |
commit | edc032b5e3f3ebb1006a9c89e0ae00504f47966f (patch) | |
tree | 34145e288daa107b0f9fcb951abd786804624081 /ssl/t1_enc.c | |
parent | Fix warning. (diff) | |
download | openssl-edc032b5e3f3ebb1006a9c89e0ae00504f47966f.tar.xz openssl-edc032b5e3f3ebb1006a9c89e0ae00504f47966f.zip |
Add SRP support.
Diffstat (limited to 'ssl/t1_enc.c')
-rw-r--r-- | ssl/t1_enc.c | 3 |
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); |