Fix NO_RSA (misplaced #endif).
[openssl.git] / ssl / ssl_lib.c
index 5af71b55454abf6b6443252ec2cf6a0de4a44fcd..3e52a8bce173236e09ba9e36c06ad3f490c91dcf 100644 (file)
@@ -81,11 +81,13 @@ OPENSSL_GLOBAL SSL3_ENC_METHOD ssl3_undef_enc_method={
        (int (*)(SSL *, EVP_MD_CTX *, EVP_MD_CTX *, const char*, int, unsigned char *))ssl_undefined_function
        };
 
        (int (*)(SSL *, EVP_MD_CTX *, EVP_MD_CTX *, const char*, int, unsigned char *))ssl_undefined_function
        };
 
+#ifndef NO_RSA
 union rsa_fn_to_char_u
        {
        char *char_p;
        RSA *(*fn_p)(SSL *, int, int);
        };
 union rsa_fn_to_char_u
        {
        char *char_p;
        RSA *(*fn_p)(SSL *, int, int);
        };
+#endif
 
 union dh_fn_to_char_u
        {
 
 union dh_fn_to_char_u
        {