Commit 210badb
committed
Fix 32bit build
../src/cipher.c: In function ‘p11prov_cipher_update’:
../src/cipher.c:1069:54: error: passing argument 5 of ‘tls_pre_aead’ from incompatible pointer type [-Wincompatible-pointer-types]
1069 | rv = tls_pre_aead(cctx, &in, &inl, &out, &outlen);
| ^~~~~~~
| |
| CK_ULONG * {aka long unsigned int *}
../src/cipher.c:870:56: note: expected ‘size_t *’ {aka ‘unsigned int *’} but argument is of type ‘CK_ULONG *’ {aka ‘long unsigned int *’}
870 | unsigned char **out, size_t *outl)
| ~~~~~~~~^~~~
../src/cipher.c:1082:43: error: passing argument 3 of ‘tls_post_aead’ from incompatible pointer type [-Wincompatible-pointer-types]
1082 | rv = tls_post_aead(cctx, out, &outlen);
| ^~~~~~~
| |
| CK_ULONG * {aka long unsigned int *}
../src/cipher.c:909:36: note: expected ‘size_t *’ {aka ‘unsigned int *’} but argument is of type ‘CK_ULONG *’ {aka ‘long unsigned int *’}
909 | size_t *outl)
| ~~~~~~~~^~~~
../src/cipher.c:1091:54: error: passing argument 5 of ‘tls_pre_aead’ from incompatible pointer type [-Wincompatible-pointer-types]
1091 | rv = tls_pre_aead(cctx, &in, &inl, &out, &outlen);
| ^~~~~~~
| |
| CK_ULONG * {aka long unsigned int *}
../src/cipher.c:870:56: note: expected ‘size_t *’ {aka ‘unsigned int *’} but argument is of type ‘CK_ULONG *’ {aka ‘long unsigned int *’}
870 | unsigned char **out, size_t *outl)
| ~~~~~~~~^~~~
../src/cipher.c: In function ‘p11prov_common_set_ctx_params’:
../src/cipher.c:1479:54: error: passing argument 4 of ‘OSSL_PARAM_get_octet_string’ from incompatible pointer type [-Wincompatible-pointer-types]
1479 | p, (void **)&gcm->pIv, gcm->ulIvLen, &gcm->ulIvFixedBits);
| ^~~~~~~~~~~~~~~~~~~
| |
| CK_ULONG * {aka long unsigned int *}
In file included from /usr/include/openssl/indicator.h:18,
from /usr/include/openssl/core_dispatch.h:16,
from ../src/provider.h:16,
from ../src/cipher.c:5:
/usr/include/openssl/params.h:138:13: note: expected ‘size_t *’ {aka ‘unsigned int *’} but argument is of type ‘CK_ULONG *’ {aka ‘long unsigned int *’}
138 | size_t *used_len);
| ~~~~~~~~^~~~~~~~1 parent c7a5c8b commit 210badb
1 file changed
+4
-3
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
867 | 867 | | |
868 | 868 | | |
869 | 869 | | |
870 | | - | |
| 870 | + | |
871 | 871 | | |
872 | 872 | | |
873 | 873 | | |
| |||
906 | 906 | | |
907 | 907 | | |
908 | 908 | | |
909 | | - | |
| 909 | + | |
910 | 910 | | |
911 | 911 | | |
912 | 912 | | |
| |||
1476 | 1476 | | |
1477 | 1477 | | |
1478 | 1478 | | |
1479 | | - | |
| 1479 | + | |
| 1480 | + | |
1480 | 1481 | | |
1481 | 1482 | | |
1482 | 1483 | | |
| |||
0 commit comments