Skip to content

Commit

Permalink
fix typo
Browse files Browse the repository at this point in the history
  • Loading branch information
mathiasertl committed Oct 26, 2024
1 parent 25b88ca commit db19f00
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions ca/django_ca/conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -250,7 +250,7 @@ def _subject_validator(value: Any) -> Any:
Subject = Annotated[x509.Name, BeforeValidator(_subject_validator)]


class CertificateRevociationListBaseModel(BaseModel):
class CertificateRevocationListBaseModel(BaseModel):
"""Base model for CRL profiles and overrides."""

encodings: Optional[Any] = None
Expand Down Expand Up @@ -298,14 +298,14 @@ def validate_scope(self) -> Self:
return self


class CertificateRevocationListProfileOverride(CertificateRevociationListBaseModel):
class CertificateRevocationListProfileOverride(CertificateRevocationListBaseModel):
"""Model for overriding fields of a CRL Profile."""

expires: Optional[timedelta] = None
skip: bool = False


class CertificateRevocationListProfile(CertificateRevociationListBaseModel):
class CertificateRevocationListProfile(CertificateRevocationListBaseModel):
"""Model for profiles for CRL generation."""

expires: timedelta = timedelta(days=1)
Expand Down

0 comments on commit db19f00

Please sign in to comment.