scd: Another fix for Curve25519 prefix handling.
* scd/app-openpgp.c (do_decipher): Check 0x02 also for 16+1 byte long INDATA. (do_decipher): Fix integer arithmetic in void pointer. (do_decipher): Add missing memcpy.
I have not tested this fix but it is obvious.
- Fixes-commit: 11b2691eddc42e91651e4f95dd2731255a3e9211
- Signed-off-by: Werner Koch <wk@gnupg.org>