mirror of
https://github.com/wolfSSL/wolfssl.git
synced 2026-07-05 15:30:49 +02:00
update she union for callback to be getUid not setUid
This commit is contained in:
@@ -2140,8 +2140,8 @@ int wc_CryptoCb_SheGetUid(wc_SHE* she, const byte* uid, word32 uidSz,
|
||||
cryptoInfo.she.she = she;
|
||||
cryptoInfo.she.type = WC_SHE_GET_UID;
|
||||
cryptoInfo.she.ctx = ctx;
|
||||
cryptoInfo.she.op.setUid.uid = uid;
|
||||
cryptoInfo.she.op.setUid.uidSz = uidSz;
|
||||
cryptoInfo.she.op.getUid.uid = uid;
|
||||
cryptoInfo.she.op.getUid.uidSz = uidSz;
|
||||
|
||||
ret = dev->cb(dev->devId, &cryptoInfo, dev->ctx);
|
||||
}
|
||||
|
||||
@@ -490,7 +490,7 @@ typedef struct wc_CryptoInfo {
|
||||
struct {
|
||||
const byte* uid;
|
||||
word32 uidSz;
|
||||
} setUid;
|
||||
} getUid;
|
||||
struct {
|
||||
word32* counter;
|
||||
} getCounter;
|
||||
|
||||
Reference in New Issue
Block a user