Skip to content

Commit

Permalink
Mirror fix for ECDSA signatures with GNU TLS for JWT.
Browse files Browse the repository at this point in the history
  • Loading branch information
michaelrsweet committed Oct 4, 2023
1 parent 8e05a59 commit 3f11865
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cups/jwt.c
Original file line number Diff line number Diff line change
Expand Up @@ -1677,7 +1677,7 @@ make_signature(cups_jwt_t *jwt, // I - JWT
gnutls_privkey_t key; // Private key
gnutls_datum_t text_datum, // Text datum
sig_datum; // Signature datum
static int algs[] = { GNUTLS_DIG_SHA256, GNUTLS_DIG_SHA384, GNUTLS_DIG_SHA512, GNUTLS_SIGN_ECDSA_SHA256, GNUTLS_SIGN_ECDSA_SHA384, GNUTLS_SIGN_ECDSA_SHA512 };
static int algs[] = { GNUTLS_DIG_SHA256, GNUTLS_DIG_SHA384, GNUTLS_DIG_SHA512, GNUTLS_DIG_SHA256, GNUTLS_DIG_SHA384, GNUTLS_DIG_SHA512 };
// Hash algorithms
#endif // HAVE_OPENSSL

Expand Down

0 comments on commit 3f11865

Please sign in to comment.