diff options
Diffstat (limited to 'test/u2f.c')
-rw-r--r-- | test/u2f.c | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/test/u2f.c b/test/u2f.c index 3ddf38616b..c99dc7d631 100644 --- a/test/u2f.c +++ b/test/u2f.c @@ -41,9 +41,10 @@ bool fips_trng_bytes(void *buffer, size_t len) return true; } -int DCRYPTO_x509_gen_u2f_cert_name(const p256_int *d, const p256_int *pk_x, - const p256_int *pk_y, const p256_int *serial, - const char *name, uint8_t *cert, const int n) +size_t DCRYPTO_x509_gen_u2f_cert_name(const p256_int *d, const p256_int *pk_x, + const p256_int *pk_y, + const p256_int *serial, const char *name, + uint8_t *cert, const size_t n) { /* Return the size of certificate, 0 means error. */ return 0; |