Skip to content

Commit b41c216

Browse files
authored
Fixed rfc reference in comment. (#772)
1 parent 9be9453 commit b41c216

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

ecdsa/src/der.rs

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
//! Support for ASN.1 DER-encoded ECDSA signatures as specified in
2-
//! [RFC5912 Appendix A].
2+
//! [RFC5912 Section 6].
33
//!
4-
//! [RFC5912 Appendix A]: https://www.rfc-editor.org/rfc/rfc5912#appendix-A
4+
//! [RFC5912 Section 6]: https://www.rfc-editor.org/rfc/rfc5912#section-6
55
66
use crate::{Error, Result};
77
use core::{
@@ -47,7 +47,7 @@ pub type MaxSize<C> = <<FieldBytesSize<C> as Add>::Output as Add<MaxOverhead>>::
4747
/// Byte array containing a serialized ASN.1 signature
4848
type SignatureBytes<C> = Array<u8, MaxSize<C>>;
4949

50-
/// ASN.1 DER-encoded signature as specified in [RFC5912 Appendix A]:
50+
/// ASN.1 DER-encoded signature as specified in [RFC5912 Section 6]:
5151
///
5252
/// ```text
5353
/// ECDSA-Sig-Value ::= SEQUENCE {
@@ -56,7 +56,7 @@ type SignatureBytes<C> = Array<u8, MaxSize<C>>;
5656
/// }
5757
/// ```
5858
///
59-
/// [RFC5912 Appendix A]: https://www.rfc-editor.org/rfc/rfc5912#appendix-A
59+
/// [RFC5912 Section 6]: https://www.rfc-editor.org/rfc/rfc5912#section-6
6060
pub struct Signature<C>
6161
where
6262
C: PrimeCurve,

0 commit comments

Comments
 (0)