Skip to content

Commit

Permalink
Fix build failure
Browse files Browse the repository at this point in the history
Signed-off-by: Songling Han <[email protected]>
  • Loading branch information
songlingatpan committed Sep 24, 2024
1 parent c2632c6 commit 066f962
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions oqsprov/oqsprov_keys.c
Original file line number Diff line number Diff line change
Expand Up @@ -230,7 +230,7 @@ static int get_keytype(int nid) {
return 0;
}

char *get_oqsname_fromtls(const char *tlsname) {
const char *get_oqsname_fromtls(const char *tlsname) {
int i;
if (tlsname == NULL) {
return NULL;
Expand Down Expand Up @@ -466,7 +466,7 @@ EVP_PKEY *setECParams(EVP_PKEY *eck, int nid) {
return NULL;
}

result = d2i_KeyParams(EVP_PKEY_EC, &eck, ms, params_len);
result = d2i_KeyParams(EVP_PKEY_EC, &eck, &params, params_len);
if (result == NULL) {
EVP_PKEY_free(eck);
}
Expand Down

0 comments on commit 066f962

Please sign in to comment.