Skip to content

Commit 498f455

Browse files
author
Andras Fekete
committed
Update variable name
1 parent b0ea9b4 commit 498f455

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/wp_rsa_sig.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1247,10 +1247,10 @@ static int wp_rsa_get_alg_id(wp_RsaSigCtx* ctx, OSSL_PARAM* p)
12471247
/* TODO: implement */
12481248
(void)ctx;
12491249
(void)p;
1250-
const byte oid[] = {0x30, 0x0b, 0x06, 0x09, 0x2a, 0x86, 0x48, 0x86, 0xf7, 0x0d, 0x01, 0x01, 0x0b, 0x05, 0x00, 0x04, 0x10};
1250+
const byte sha256WithRSAEncryptionOid[] = {0x30, 0x0b, 0x06, 0x09, 0x2a, 0x86, 0x48, 0x86, 0xf7, 0x0d, 0x01, 0x01, 0x0b, 0x05, 0x00, 0x04, 0x10};
12511251
int ok = 1;
12521252

1253-
if (ok && (!OSSL_PARAM_set_octet_string(p, oid, sizeof(oid)))) {
1253+
if (ok && (!OSSL_PARAM_set_octet_string(p, sha256WithRSAEncryptionOid, sizeof(sha256WithRSAEncryptionOid)))) {
12541254
ok = 0;
12551255
}
12561256
return ok;

0 commit comments

Comments
 (0)