Refactor the computation of API version limits
[openssl.git] / crypto / srp / srp_vfy.c
index bfe517b47195975f9852a330a35a3bec8e98a5e0..814f04263cbf090d5e959543a0060bc9066b5e4e 100644 (file)
@@ -525,7 +525,7 @@ int SRP_VBASE_add0_user(SRP_VBASE *vb, SRP_user_pwd *user_pwd)
     return 1;
 }
 
-# if OPENSSL_API_COMPAT < 0x10100000L
+# if !OPENSSL_API_1_1_0
 /*
  * DEPRECATED: use SRP_VBASE_get1_by_user instead.
  * This method ignores the configured seed and fails for an unknown user.