summaryrefslogtreecommitdiff
path: root/doc
diff options
context:
space:
mode:
authorNikos Mavrogiannopoulos <nmav@gnutls.org>2010-12-01 20:42:15 +0100
committerNikos Mavrogiannopoulos <nmav@gnutls.org>2010-12-01 20:42:55 +0100
commited160f7a18caf555edb07bc36c6f67fabcd308bb (patch)
tree9d055969f438f584ffd554053cfceae30cc843f0 /doc
parent17c193395a378694f94771ec549be38c3419799d (diff)
downloadgnutls-ed160f7a18caf555edb07bc36c6f67fabcd308bb.tar.gz
Corrected pkcs11 example URLs
Diffstat (limited to 'doc')
-rw-r--r--doc/examples/ex-cert-select-pkcs11.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/doc/examples/ex-cert-select-pkcs11.c b/doc/examples/ex-cert-select-pkcs11.c
index 2ce9909704..75f755509f 100644
--- a/doc/examples/ex-cert-select-pkcs11.c
+++ b/doc/examples/ex-cert-select-pkcs11.c
@@ -26,10 +26,10 @@
#define MIN(x,y) (((x)<(y))?(x):(y))
#define CAFILE "ca.pem"
-#define CERT_URL "pkcs11:manufacturer=EnterSafe;object=Certificate" \
- ";id=db:5b:3e:b5:72:33:92:99:18:ed:bb:eb:74:68:31:bd:b2:23:67:26"
-#define KEY_URL "pkcs11:manufacturer=EnterSafe;object=Certificate" \
- ";id=db:5b:3e:b5:72:33:92:99:18:ed:bb:eb:74:68:31:bd:b2:23:67:26"
+#define KEY_URL "pkcs11:manufacturer=SomeManufacturer;object=Private%20Key" \
+ ";objecttype=private;id=db:5b:3e:b5:72:33"
+#define CERT_URL "pkcs11:manufacturer=SomeManufacturer;object=Certificate;" \
+ "objecttype=cert;id=db:5b:3e:b5:72:33"
extern int tcp_connect (void);
extern void tcp_close (int sd);