Skip to content
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
fix headers
  • Loading branch information
qmuntal committed May 15, 2025
commit a689068c24f687b83e3813182816eb6bd1f6966c
4 changes: 2 additions & 2 deletions internal/ossl/shims.h
Original file line number Diff line number Diff line change
Expand Up @@ -191,8 +191,8 @@ _EVP_MD_CTX_PTR EVP_MD_CTX_new(void);
void EVP_MD_CTX_free(_EVP_MD_CTX_PTR ctx);
int EVP_MD_CTX_copy(_EVP_MD_CTX_PTR out, const _EVP_MD_CTX_PTR in) __attribute__((noescape,nocallback));
int EVP_MD_CTX_copy_ex(_EVP_MD_CTX_PTR out, const _EVP_MD_CTX_PTR in);
const _OSSL_PARAM_PTR EVP_MD_CTX_gettable_params(const _EVP_MD_CTX_PTR ctx) __attribute__((tag("3")));
const _OSSL_PARAM_PTR EVP_MD_CTX_settable_params(const _EVP_MD_CTX_PTR ctx) __attribute__((tag("3")));
const _OSSL_PARAM_PTR EVP_MD_CTX_gettable_params(_EVP_MD_CTX_PTR ctx) __attribute__((tag("3")));
const _OSSL_PARAM_PTR EVP_MD_CTX_settable_params(_EVP_MD_CTX_PTR ctx) __attribute__((tag("3")));
int EVP_MD_CTX_get_params(_EVP_MD_CTX_PTR ctx, _OSSL_PARAM_PTR params) __attribute__((tag("3")));
int EVP_MD_CTX_set_params(_EVP_MD_CTX_PTR ctx, const _OSSL_PARAM_PTR params) __attribute__((tag("3")));
int EVP_Digest(const void *data, size_t count, unsigned char *md, unsigned int *size, const _EVP_MD_PTR type, _ENGINE_PTR impl) __attribute__((noescape,nocallback,nocheckptr("data")));
Expand Down
8 changes: 4 additions & 4 deletions internal/ossl/zossl.c
Original file line number Diff line number Diff line change
Expand Up @@ -99,10 +99,10 @@ int (*_g_EVP_MD_CTX_copy)(_EVP_MD_CTX_PTR, const _EVP_MD_CTX_PTR);
int (*_g_EVP_MD_CTX_copy_ex)(_EVP_MD_CTX_PTR, const _EVP_MD_CTX_PTR);
void (*_g_EVP_MD_CTX_free)(_EVP_MD_CTX_PTR);
int (*_g_EVP_MD_CTX_get_params)(_EVP_MD_CTX_PTR, _OSSL_PARAM_PTR);
const _OSSL_PARAM_PTR (*_g_EVP_MD_CTX_gettable_params)(const _EVP_MD_CTX_PTR);
const _OSSL_PARAM_PTR (*_g_EVP_MD_CTX_gettable_params)(_EVP_MD_CTX_PTR);
_EVP_MD_CTX_PTR (*_g_EVP_MD_CTX_new)(void);
int (*_g_EVP_MD_CTX_set_params)(_EVP_MD_CTX_PTR, const _OSSL_PARAM_PTR);
const _OSSL_PARAM_PTR (*_g_EVP_MD_CTX_settable_params)(const _EVP_MD_CTX_PTR);
const _OSSL_PARAM_PTR (*_g_EVP_MD_CTX_settable_params)(_EVP_MD_CTX_PTR);
_EVP_MD_PTR (*_g_EVP_MD_fetch)(_OSSL_LIB_CTX_PTR, const char*, const char*);
void (*_g_EVP_MD_free)(_EVP_MD_PTR);
const char* (*_g_EVP_MD_get0_name)(const _EVP_MD_PTR);
Expand Down Expand Up @@ -1275,7 +1275,7 @@ int _mkcgo_EVP_MD_CTX_get_params(_EVP_MD_CTX_PTR _arg0, _OSSL_PARAM_PTR _arg1, m
return _ret;
}

const _OSSL_PARAM_PTR _mkcgo_EVP_MD_CTX_gettable_params(const _EVP_MD_CTX_PTR _arg0, mkcgo_err_state *_err_state) {
const _OSSL_PARAM_PTR _mkcgo_EVP_MD_CTX_gettable_params(_EVP_MD_CTX_PTR _arg0, mkcgo_err_state *_err_state) {
mkcgo_err_clear();
const _OSSL_PARAM_PTR _ret = _g_EVP_MD_CTX_gettable_params(_arg0);
if (_ret <= 0) *_err_state = mkcgo_err_retrieve();
Expand All @@ -1296,7 +1296,7 @@ int _mkcgo_EVP_MD_CTX_set_params(_EVP_MD_CTX_PTR _arg0, const _OSSL_PARAM_PTR _a
return _ret;
}

const _OSSL_PARAM_PTR _mkcgo_EVP_MD_CTX_settable_params(const _EVP_MD_CTX_PTR _arg0, mkcgo_err_state *_err_state) {
const _OSSL_PARAM_PTR _mkcgo_EVP_MD_CTX_settable_params(_EVP_MD_CTX_PTR _arg0, mkcgo_err_state *_err_state) {
mkcgo_err_clear();
const _OSSL_PARAM_PTR _ret = _g_EVP_MD_CTX_settable_params(_arg0);
if (_ret <= 0) *_err_state = mkcgo_err_retrieve();
Expand Down
4 changes: 2 additions & 2 deletions internal/ossl/zossl.h
Original file line number Diff line number Diff line change
Expand Up @@ -197,10 +197,10 @@ int _mkcgo_EVP_MD_CTX_copy(_EVP_MD_CTX_PTR, const _EVP_MD_CTX_PTR, mkcgo_err_sta
int _mkcgo_EVP_MD_CTX_copy_ex(_EVP_MD_CTX_PTR, const _EVP_MD_CTX_PTR, mkcgo_err_state *);
void _mkcgo_EVP_MD_CTX_free(_EVP_MD_CTX_PTR);
int _mkcgo_EVP_MD_CTX_get_params(_EVP_MD_CTX_PTR, _OSSL_PARAM_PTR, mkcgo_err_state *);
const _OSSL_PARAM_PTR _mkcgo_EVP_MD_CTX_gettable_params(const _EVP_MD_CTX_PTR, mkcgo_err_state *);
const _OSSL_PARAM_PTR _mkcgo_EVP_MD_CTX_gettable_params(_EVP_MD_CTX_PTR, mkcgo_err_state *);
_EVP_MD_CTX_PTR _mkcgo_EVP_MD_CTX_new(mkcgo_err_state *);
int _mkcgo_EVP_MD_CTX_set_params(_EVP_MD_CTX_PTR, const _OSSL_PARAM_PTR, mkcgo_err_state *);
const _OSSL_PARAM_PTR _mkcgo_EVP_MD_CTX_settable_params(const _EVP_MD_CTX_PTR, mkcgo_err_state *);
const _OSSL_PARAM_PTR _mkcgo_EVP_MD_CTX_settable_params(_EVP_MD_CTX_PTR, mkcgo_err_state *);
_EVP_MD_PTR _mkcgo_EVP_MD_fetch(_OSSL_LIB_CTX_PTR, const char*, const char*, mkcgo_err_state *);
void _mkcgo_EVP_MD_free(_EVP_MD_PTR);
const char* _mkcgo_EVP_MD_get0_name(const _EVP_MD_PTR);
Expand Down
Loading