Commit 67bbe1e
committed
wolfcrypt/src/rsa.c: in wc_RsaFunction_ex(), if defined(WOLF_CRYPTO_CB_ONLY_RSA), add clause to return NO_VALID_DEVID if key->devId == INVALID_DEVID. fixes "control reaches end of non-void function" in PRB-single-flag.txt.
1 parent de91add commit 67bbe1e
1 file changed
Lines changed: 4 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
3141 | 3141 | | |
3142 | 3142 | | |
3143 | 3143 | | |
3144 | | - | |
| 3144 | + | |
| 3145 | + | |
| 3146 | + | |
3145 | 3147 | | |
3146 | 3148 | | |
3147 | 3149 | | |
| |||
3192 | 3194 | | |
3193 | 3195 | | |
3194 | 3196 | | |
3195 | | - | |
| 3197 | + | |
3196 | 3198 | | |
3197 | 3199 | | |
3198 | 3200 | | |
| |||
0 commit comments