Skip to content

Commit b6a1328

Browse files
authored
Merge pull request #49 from bgaifullin/master
Fixed initialization with dynamic crypto library #48
2 parents 49c43bc + d155dc1 commit b6a1328

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/main.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@ static int PyXmlSec_Init(void) {
4646
}
4747

4848
#ifndef XMLSEC_NO_CRYPTO_DYNAMIC_LOADING
49-
if (xmlSecCryptoDLLoadLibrary(NULL) < 0) {
49+
if (xmlSecCryptoDLLoadLibrary((const xmlChar*) STRINGIFY(XMLSEC_CRYPTO)) < 0) {
5050
PyXmlSec_SetLastError("cannot load crypto library for xmlsec.");
5151
PyXmlSec_Free(_FREE_XMLSEC);
5252
return -1;

0 commit comments

Comments
 (0)