Skip to content

Commit af3d777

Browse files
committed
return runtime openssl version instead of compile time for provider version
1 parent b3fbd46 commit af3d777

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/crypto_openssl.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -147,7 +147,7 @@ static const char* sqlcipher_openssl_get_provider_name(void *ctx) {
147147
}
148148

149149
static const char* sqlcipher_openssl_get_provider_version(void *ctx) {
150-
return OPENSSL_VERSION_TEXT;
150+
return OpenSSL_version(OPENSSL_VERSION);
151151
}
152152

153153
/* generate a defined number of random bytes */

0 commit comments

Comments
 (0)