Fix build failure on Windows due to undefined cflags identifier
[oweals/openssl.git] / apps / gendh.c
index 1536cbf3d2393cbd35569c2dbaa79220a4a4e626..4581bfac7096f7786b1e212854817d993b68377d 100644 (file)
  */
 
 #include <openssl/opensslconf.h>
-/* Until the key-gen callbacks are modified to use newer prototypes, we allow
- * deprecated functions for openssl-internal code */
-#ifdef OPENSSL_NO_DEPRECATED
-#undef OPENSSL_NO_DEPRECATED
-#endif
 
 #ifndef OPENSSL_NO_DH
 #include <stdio.h>
@@ -233,9 +228,6 @@ static int MS_CALLBACK dh_cb(int p, int n, BN_GENCB *cb)
        if (p == 3) c='\n';
        BIO_write(BN_GENCB_get_arg(cb),&c,1);
        (void)BIO_flush(BN_GENCB_get_arg(cb));
-#ifdef LINT
-       p=n;
-#endif
        return 1;
        }
 #else /* !OPENSSL_NO_DH */