summaryrefslogtreecommitdiff
path: root/lib/gnutls_int.h
diff options
context:
space:
mode:
authorNikos Mavrogiannopoulos <nmav@gnutls.org>2012-07-16 20:46:24 +0200
committerNikos Mavrogiannopoulos <nmav@gnutls.org>2012-07-16 20:46:27 +0200
commitb92c13fba98e17628e3e63de43da3bc3966da618 (patch)
tree8b36ab4ae30a940e48f610d8b52719228b12f722 /lib/gnutls_int.h
parenteacb2e35f561f2afe67c26a8939f0ad91d68c935 (diff)
downloadgnutls-b92c13fba98e17628e3e63de43da3bc3966da618.tar.gz
Added PIN callbacks in structures that may require PIN access to override the global callbacks.
Diffstat (limited to 'lib/gnutls_int.h')
-rw-r--r--lib/gnutls_int.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/lib/gnutls_int.h b/lib/gnutls_int.h
index 77705a304f..0f8f8c1b44 100644
--- a/lib/gnutls_int.h
+++ b/lib/gnutls_int.h
@@ -409,6 +409,11 @@ struct gnutls_key_st
};
typedef struct gnutls_key_st *gnutls_key_st;
+struct pin_info_st
+{
+ gnutls_pin_callback_t cb;
+ void* data;
+};
struct record_state_st;
typedef struct record_state_st record_state_st;
@@ -925,4 +930,5 @@ _gnutls_set_current_version (gnutls_session_t session,
session->security_parameters.version = version;
}
+
#endif /* GNUTLS_INT_H */