summaryrefslogtreecommitdiffhomepage
path: root/common
diff options
context:
space:
mode:
authorSamuel Lidén Borell <samuel@slbdata.se>2011-04-05 13:20:35 +0200
committerSamuel Lidén Borell <samuel@slbdata.se>2011-04-05 13:20:35 +0200
commite2d6625026720e1d0ec0a4d39f3575b8fbc603a0 (patch)
tree7eb8bc8bb3524037937132ea03d0ac558ee1685d /common
parent92373136a16987dfb6bf9b0e5427d1dd9b1c1ab2 (diff)
downloadfribid-e2d6625026720e1d0ec0a4d39f3575b8fbc603a0.tar.gz
fribid-e2d6625026720e1d0ec0a4d39f3575b8fbc603a0.tar.bz2
fribid-e2d6625026720e1d0ec0a4d39f3575b8fbc603a0.zip
Only include the full DN in the first CSR
The official client (tested with 4.15.0.14) includes the full subject DN if it was set with SetParam for the current request. Otherwise, it includes the name attribute only (OID 2.5.4.41).
Diffstat (limited to 'common')
-rw-r--r--common/bidtypes.h3
-rw-r--r--common/defines.h2
2 files changed, 4 insertions, 1 deletions
diff --git a/common/bidtypes.h b/common/bidtypes.h
index 41a9db7..ab9b66b 100644
--- a/common/bidtypes.h
+++ b/common/bidtypes.h
@@ -25,6 +25,8 @@
#ifndef __BIDTYPES_H__
#define __BIDTYPES_H__
+#include <stdbool.h>
+
typedef enum {
KeyUsage_Issuing,
KeyUsage_Signing,
@@ -38,6 +40,7 @@ typedef struct PKCS10Request {
KeyUsage keyUsage;
int keySize;
char *subjectDN;
+ bool includeFullDN;
} RegutilPKCS10;
typedef struct CMCRequest {
diff --git a/common/defines.h b/common/defines.h
index bef35cb..6fd0de1 100644
--- a/common/defines.h
+++ b/common/defines.h
@@ -32,7 +32,7 @@
#define BINNAME "fribid"
#define RELEASE_TIME 1292676673
-#define IPCVERSION "5"
+#define IPCVERSION "6"
#define EMULATED_VERSION "4.15.0.14"
#define DNSVERSION "2"