Skip to content

Commit 05b9f23

Browse files
committed
Remove unneeded attr_writer
1 parent 75f5628 commit 05b9f23

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

lib/ruby_saml/xml/signed_document.rb

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,8 +9,6 @@ module XML
99
class SignedDocument < BaseDocument
1010
include RubySaml::ErrorHandling
1111

12-
attr_writer :signed_element_id
13-
1412
def initialize(response, errors = [])
1513
super(response)
1614
@errors = errors
@@ -55,6 +53,7 @@ def validate_document(idp_cert_fingerprint, soft = true, options = {})
5553
else
5654
return append_error('Certificate element missing in response (ds:X509Certificate) and not cert provided at settings', soft)
5755
end
56+
5857
validate_signature(base64_cert, soft)
5958
end
6059

@@ -82,6 +81,7 @@ def validate_document_with_cert(idp_cert, soft = true)
8281
else
8382
base64_cert = Base64.encode64(idp_cert.to_pem)
8483
end
84+
8585
validate_signature(base64_cert, true)
8686
end
8787

0 commit comments

Comments
 (0)