Sisyphus repository
Last update: 1 october 2023 | SRPMs: 18631 | Visits: 37403036
en ru br
ALT Linux repos
S:3.9p1-alt15
5.0: 3.9p1-alt10
4.1: 3.9p1-alt8
4.0: 3.9p1-alt8
3.0:
+backports:3.9p1-alt0.M30.1

Group :: Networking/Other
RPM: openntpd

 Main   Changelog   Spec   Patches   Sources   Download   Gear   Bugs and FR  Repocop 

Patch: openntpd-3.9p1-alt-openssl1.1.patch
Download


--- a/configure.ac
+++ b/configure.ac
@@ -726,7 +726,7 @@ int main(void) {
 	if(fd == NULL)
 		exit(1);
 
-	if ((rc = fprintf(fd ,"%x (%s)\n", SSLeay(), SSLeay_version(SSLEAY_VERSION))) <0)
+	if ((rc = fprintf(fd ,"%x (%s)\n", OpenSSL_version_num(), OpenSSL_version(OPENSSL_VERSION))) <0)
 		exit(1);
 
 	exit(0);
@@ -751,7 +751,7 @@ AC_RUN_IFELSE(
 	[
 #include <string.h>
 #include <openssl/opensslv.h>
-int main(void) { exit(SSLeay() == OPENSSL_VERSION_NUMBER ? 0 : 1); }
+int main(void) { exit(OpenSSL_version_num() == OPENSSL_VERSION_NUMBER ? 0 : 1); }
 	],
 	[
 		AC_MSG_RESULT(yes)
 
design & coding: Vladimir Lettiev aka crux © 2004-2005, Andrew Avramenko aka liks © 2007-2008
current maintainer: Michael Shigorin