17. Any marriage or cohabitation between parties standing towards each other in any of the above-enumerated degrees of relationship shall be deemed to be an offence, and shall be punishable with imprisonment, simple or rigorous, for any period not exceeding one year. *Marriage of persons within prohibited degrees of relationship an offence.*