summaryrefslogtreecommitdiff
path: root/ssl/tls_srp.c
diff options
context:
space:
mode:
authorRich Salz <rsalz@akamai.com>2015-05-14 15:21:36 -0400
committerRich Salz <rsalz@openssl.org>2015-05-15 08:16:21 -0400
commit857048a7f339913fc4e510ddf033878850c655cd (patch)
treecb6af69094c972288773c36bc56b6b27b9d74090 /ssl/tls_srp.c
parent2eb264a14b93b277269b1f3311925d550d5de580 (diff)
downloadopenssl-new-857048a7f339913fc4e510ddf033878850c655cd.tar.gz
Use #error in openssl/srp.h
Follow the same convention the other OPENSSL_NO_xxx header files do, and use #error instead of making the header file be a no-op. Reviewed-by: Matt Caswell <matt@openssl.org>
Diffstat (limited to 'ssl/tls_srp.c')
-rw-r--r--ssl/tls_srp.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/ssl/tls_srp.c b/ssl/tls_srp.c
index 7d4fd1db32..6bd7845244 100644
--- a/ssl/tls_srp.c
+++ b/ssl/tls_srp.c
@@ -60,11 +60,11 @@
#include <openssl/crypto.h>
#include <openssl/rand.h>
-#include <openssl/srp.h>
#include <openssl/err.h>
#include "ssl_locl.h"
#ifndef OPENSSL_NO_SRP
+#include <openssl/srp.h>
int SSL_CTX_SRP_CTX_free(struct ssl_ctx_st *ctx)
{