summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authortb <>2022-06-06 16:11:00 +0000
committertb <>2022-06-06 16:11:00 +0000
commit5352ed61e080069f259dec46d7e371239b23c514 (patch)
tree7370f57231a75d1dbf20219d97ce9d78dd968171
parenta5111001f9bfe0d0764d8490825d5f6651b92039 (diff)
downloadopenbsd-5352ed61e080069f259dec46d7e371239b23c514.tar.gz
openbsd-5352ed61e080069f259dec46d7e371239b23c514.tar.bz2
openbsd-5352ed61e080069f259dec46d7e371239b23c514.zip
Tweak comment describing the SSL_SESSION ASN.1
ok jsing
-rw-r--r--src/lib/libssl/ssl_locl.h9
1 files changed, 5 insertions, 4 deletions
diff --git a/src/lib/libssl/ssl_locl.h b/src/lib/libssl/ssl_locl.h
index 4349932aea..25c1cf1015 100644
--- a/src/lib/libssl/ssl_locl.h
+++ b/src/lib/libssl/ssl_locl.h
@@ -1,4 +1,4 @@
1/* $OpenBSD: ssl_locl.h,v 1.390 2022/06/06 08:48:11 tb Exp $ */ 1/* $OpenBSD: ssl_locl.h,v 1.391 2022/06/06 16:11:00 tb Exp $ */
2/* Copyright (C) 1995-1998 Eric Young (eay@cryptsoft.com) 2/* Copyright (C) 1995-1998 Eric Young (eay@cryptsoft.com)
3 * All rights reserved. 3 * All rights reserved.
4 * 4 *
@@ -434,11 +434,12 @@ struct ssl_method_st {
434 unsigned int enc_flags; /* SSL_ENC_FLAG_* */ 434 unsigned int enc_flags; /* SSL_ENC_FLAG_* */
435}; 435};
436 436
437/* Lets make this into an ASN.1 type structure as follows 437/*
438 * Let's make this into an ASN.1 type structure as follows
438 * SSL_SESSION_ID ::= SEQUENCE { 439 * SSL_SESSION_ID ::= SEQUENCE {
439 * version INTEGER, -- structure version number 440 * version INTEGER, -- structure version number
440 * SSLversion INTEGER, -- SSL version number 441 * SSLversion INTEGER, -- SSL version number
441 * Cipher OCTET STRING, -- the 3 byte cipher ID 442 * Cipher OCTET STRING, -- the 2 byte cipher ID
442 * Session_ID OCTET STRING, -- the Session ID 443 * Session_ID OCTET STRING, -- the Session ID
443 * Master_key OCTET STRING, -- the master key 444 * Master_key OCTET STRING, -- the master key
444 * KRB5_principal OCTET STRING -- optional Kerberos principal 445 * KRB5_principal OCTET STRING -- optional Kerberos principal
@@ -454,7 +455,7 @@ struct ssl_method_st {
454 * Ticket [10] EXPLICIT OCTET STRING, -- session ticket (clients only) 455 * Ticket [10] EXPLICIT OCTET STRING, -- session ticket (clients only)
455 * Compression_meth [11] EXPLICIT OCTET STRING, -- optional compression method 456 * Compression_meth [11] EXPLICIT OCTET STRING, -- optional compression method
456 * SRP_username [ 12 ] EXPLICIT OCTET STRING -- optional SRP username 457 * SRP_username [ 12 ] EXPLICIT OCTET STRING -- optional SRP username
457 * } 458 * }
458 * Look in ssl/ssl_asn1.c for more details 459 * Look in ssl/ssl_asn1.c for more details
459 * I'm using EXPLICIT tags so I can read the damn things using asn1parse :-). 460 * I'm using EXPLICIT tags so I can read the damn things using asn1parse :-).
460 */ 461 */