mirror of
https://github.com/internetee/registry.git
synced 2025-08-05 01:11:43 +02:00
Story #107192666 - change setting value and symbol, admin configures ds_digest_type
This commit is contained in:
parent
bcf38e55ad
commit
88973c5241
5 changed files with 6 additions and 6 deletions
|
@ -69,7 +69,7 @@ class Dnskey < ActiveRecord::Base
|
|||
def generate_digest
|
||||
return unless flags == 257 || flags == 256 # require ZoneFlag, but optional SecureEntryPoint
|
||||
self.ds_alg = alg
|
||||
self.ds_digest_type = Setting.ds_algorithm if ds_digest_type.blank? || !DS_DIGEST_TYPE.include?(ds_digest_type)
|
||||
self.ds_digest_type = Setting.ds_digest_type if self.ds_digest_type.blank? || !DS_DIGEST_TYPE.include?(ds_digest_type)
|
||||
|
||||
flags_hex = self.class.int_to_hex(flags)
|
||||
protocol_hex = self.class.int_to_hex(protocol)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue