Skip to content

Fix compilation with libp11 version >= 0.4.7

Nikos Mavrogiannopoulos requested to merge nmav/openconnect:tmp-openwrt into master

[this patch was downstream in openwrt, I'm bringing it for consideration]

libp11 0.4.7 renamed then dropped macro definition in commits

4f0fce4: Error reporting fixes e4c641b: PKCS11 errors separated into P11 and CKR

This change assumes that libp11 will restore compatibility by bringing back old forms of macro definition

Signed-off-by: Yousong Zhou yszhou4tech@gmail.com

Merge request reports