summaryrefslogtreecommitdiff
path: root/examples
diff options
context:
space:
mode:
authorSimon Josefsson <simon@josefsson.org>2012-03-19 10:14:19 +0100
committerSimon Josefsson <simon@josefsson.org>2012-03-19 10:14:19 +0100
commite4c605d4c575d9f56f44970fdf3bee567b8fac18 (patch)
tree8f2e4e80663f25be739760c5b15efb382ea34d66 /examples
parent8ab3a5231ef83834a17818edf2f2b1911b02bb05 (diff)
downloadlibtasn1-e4c605d4c575d9f56f44970fdf3bee567b8fac18.tar.gz
libtasn1-e4c605d4c575d9f56f44970fdf3bee567b8fac18.tar.bz2
libtasn1-e4c605d4c575d9f56f44970fdf3bee567b8fac18.zip
Indent code.
Diffstat (limited to 'examples')
-rw-r--r--examples/CertificateExample.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/examples/CertificateExample.c b/examples/CertificateExample.c
index 9972467..cd45f97 100644
--- a/examples/CertificateExample.c
+++ b/examples/CertificateExample.c
@@ -447,11 +447,11 @@ create_certificate (ASN1_TYPE cert_def, unsigned char *der, int *der_len)
str, 1);
result =
asn1_create_element (cert_def, "PKIX1Implicit88.Dss-Parms", &param);
- str2 = (const unsigned char *) "\xd4\x38"; /* only an example */
+ str2 = (const unsigned char *) "\xd4\x38"; /* only an example */
result = asn1_write_value (param, "p", str2, 128);
- str2 = (const unsigned char *) "\xd4\x38"; /* only an example */
+ str2 = (const unsigned char *) "\xd4\x38"; /* only an example */
result = asn1_write_value (param, "q", str2, 20);
- str2 = (const unsigned char *) "\xd4\x38"; /* only an example */
+ str2 = (const unsigned char *) "\xd4\x38"; /* only an example */
result = asn1_write_value (param, "g", str2, 128);
*der_len = max_len;
result = asn1_der_coding (param, "", der, der_len, errorDescription);
@@ -463,7 +463,7 @@ create_certificate (ASN1_TYPE cert_def, unsigned char *der, int *der_len)
/* subjectPublicKey */
- str2 = (const unsigned char *) "\x02\x81"; /* only an example */
+ str2 = (const unsigned char *) "\x02\x81"; /* only an example */
result =
asn1_write_value (cert1,
"tbsCertificate.subjectPublicKeyInfo.subjectPublicKey",